Model Checking DSL-Generated C Source Code
نویسندگان
چکیده
We report on the application of SPIN for model-checking C source code which is generated out of a textual domain-specific language (DSL). We have built a tool which automatically generates the necessary SPIN wrapper code using (meta-)information available at the DSL level. The approach is part of a larger tool-chain for developing mission critical applications. For example, error traces resulting from SPIN can be automatically replayed at the DSL level and yield concise explanations in terms of a temporal specification DSL. The tool-chain is applied in some large scale industrial applications. We demonstrate the approach via a smaller example taken from the Automotive area.
منابع مشابه
Industrial Experiences with a Formal DSL Semantics to Check the Correctness of DSL Artifacts
A domain specific language (DSL) abstracts from implementation details and is aligned with the way domain experts reason about a software component. The development of DSLs is usually centered around a grammar and transformations that generate implementation code or analysis models. The semantics of the language is often defined implicitly and in terms of a transformation to implementation code...
متن کاملIndustrial Experiences with a Formal DSL Semantics to Check Correctness of DSL Transformations
A domain specific language (DSL) abstracts from implementation details and is aligned with the way domain experts reason about a software component. The development of DSLs is usually centered around a grammar and transformations that generate implementation code or analysis models. The semantics of the language is often defined implicitly and in terms of a transformation to implementation code...
متن کاملFilet-o-Fish: practical and dependable domain-specific languages for OS development Pierre-Evariste Dagand ENS Cachan-Bretagne France
We address a persistent problem with using domain-specific languages to write operating systems: the effort of implementing, checking, and debugging the DSL usually outweighs any of its benefits. Because these DSLs generate C by templated string concatenation, they are tedious to write, fragile, and incompatible with automated verification tools. We present Filet-o-Fish (FoF), a semantic langua...
متن کاملdSL, a Language and Environment for the Design of Distributed Industrial Controllers
We present dSL (distributed Supervision Language), a language and environment dedicated to the specification of industrial controllers. dSL extends an existing language used in the industrial world to allow transparent code distribution. We study other existing solutions, and argue for the need of dSL. Next, we define dSL syntactically and semantically, and prove some remarkable properties on i...
متن کاملA UML-Agnostic Migration Approach From UML to DSL
Compared to UML-based modeling, domain-specific languages (DSL) offer many advantages such as simplified tooling and lower costs. When migrating existing UML models to DSLs, however, it is difficult to guarantee that the same source code is generated afterwards. Due to the fact that existing UML models and the former generated source code may already be inconsistent. To cope with these inconsis...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2012